package com.zyj.order.service;

import com.zyj.order.mapper.UserMapper;
import com.zyj.order.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    UserMapper userMapper;

    public User query(int userId) {
        return userMapper.selcOne(userId);
    }
}
